home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code2 / r3filren.js next >
Encoding:
JavaScript  |  2005-04-04  |  8.8 KB  |  313 lines

  1.  
  2. // JavaScript wrapper for inc/real/code2/r3filren.h
  3. // Auto generated file, do not modify by hand
  4. // Copyrights 2002, Realsoft Graphics Oy
  5.  
  6. var R3_FILERENDER_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_FILERENDER = 244;
  11.  
  12.  
  13. // ==== Methods ==== 
  14.  
  15.  
  16. // Description: Start rendering. Rendering runs on a separate threads 
  17. //  and this method returns immediately. 
  18. // Returns: ?, true if rendering succeeded.
  19.  
  20. R3FLRENM_RENDER = 244000;
  21.  
  22. function _R3FLRENM_RENDER() {
  23.   return   this.r3DoA(R3FLRENM_RENDER);
  24. }
  25.  
  26. // Description: Cancel rendering. Note: call returns immediately.
  27. //  Use R3FLRENM_SYNC if you need to make sure renderers
  28. //  are really stopped before you continue. 
  29.  
  30. R3FLRENM_CANCEL = 244001;
  31.  
  32. function _R3FLRENM_CANCEL() {
  33.   this.r3DoA(R3FLRENM_CANCEL);
  34. }
  35.  
  36.  
  37. // ==== Attributes ==== 
  38.  
  39.  
  40. // R3FLRENA_PrimLayer ?geometric primitives 
  41. R3FLRENA_PrimLayer = 244500;
  42. function SetR3FLRENA_PrimLayer(value) {
  43.   this.r3Set(R3FLRENA_PrimLayer, value); // R3OBJ*
  44. }
  45.  
  46. function GetR3FLRENA_PrimLayer() {
  47.   var value = 0;
  48.   return this.r3Get(R3FLRENA_PrimLayer, value); // R3OBJ*
  49. }
  50.  
  51. // R3FLRENA_MaterialLayer ?materials 
  52. R3FLRENA_MaterialLayer = 244501;
  53. function SetR3FLRENA_MaterialLayer(value) {
  54.   this.r3Set(R3FLRENA_MaterialLayer, value); // R3OBJ*
  55. }
  56.  
  57. function GetR3FLRENA_MaterialLayer() {
  58.   var value = 0;
  59.   return this.r3Get(R3FLRENA_MaterialLayer, value); // R3OBJ*
  60. }
  61.  
  62. // R3FLRENA_ImageEffectLaye ?image effects 
  63. R3FLRENA_ImageEffectLaye = 244502;
  64. function SetR3FLRENA_ImageEffectLaye(value) {
  65.   this.r3Set(R3FLRENA_ImageEffectLaye, value); // R3OBJ*
  66. }
  67.  
  68. function GetR3FLRENA_ImageEffectLaye() {
  69.   var value = 0;
  70.   return this.r3Get(R3FLRENA_ImageEffectLaye, value); // R3OBJ*
  71. }
  72.  
  73. // R3FLRENA_ParticleEffectL ?particle effects 
  74. R3FLRENA_ParticleEffectL = 244503;
  75. function SetR3FLRENA_ParticleEffectL(value) {
  76.   this.r3Set(R3FLRENA_ParticleEffectL, value); // R3OBJ*
  77. }
  78.  
  79. function GetR3FLRENA_ParticleEffectL() {
  80.   var value = 0;
  81.   return this.r3Get(R3FLRENA_ParticleEffectL, value); // R3OBJ*
  82. }
  83.  
  84. // R3FLRENA_OutputLayer ?output objects 
  85. R3FLRENA_OutputLayer = 244504;
  86. function SetR3FLRENA_OutputLayer(value) {
  87.   this.r3Set(R3FLRENA_OutputLayer, value); // R3OBJ*
  88. }
  89.  
  90. function GetR3FLRENA_OutputLayer() {
  91.   var value = 0;
  92.   return this.r3Get(R3FLRENA_OutputLayer, value); // R3OBJ*
  93. }
  94.  
  95. // R3FLRENA_Animator ?animator 
  96. R3FLRENA_Animator = 244505;
  97. function SetR3FLRENA_Animator(value) {
  98.   this.r3Set(R3FLRENA_Animator, value); // R3OBJ*
  99. }
  100.  
  101. function GetR3FLRENA_Animator() {
  102.   var value = 0;
  103.   return this.r3Get(R3FLRENA_Animator, value); // R3OBJ*
  104. }
  105.  
  106. // R3FLRENA_RSpec ?rendering settings 
  107. R3FLRENA_RSpec = 244506;
  108. function SetR3FLRENA_RSpec(value) {
  109.   this.r3Set(R3FLRENA_RSpec, value); // R3OBJ*
  110. }
  111.  
  112. function GetR3FLRENA_RSpec() {
  113.   var value = 0;
  114.   return this.r3Get(R3FLRENA_RSpec, value); // R3OBJ*
  115. }
  116.  
  117. // R3FLRENA_Output ?output object 
  118. R3FLRENA_Output = 244507;
  119. function SetR3FLRENA_Output(value) {
  120.   this.r3Set(R3FLRENA_Output, value); // R3OBJ*
  121. }
  122.  
  123. function GetR3FLRENA_Output() {
  124.   var value = 0;
  125.   return this.r3Get(R3FLRENA_Output, value); // R3OBJ*
  126. }
  127.  
  128. // R3FLRENA_BoxRelX ?0..1, relative box coordinates for box ray tracing 
  129. R3FLRENA_BoxRelX = 244528;
  130. function SetR3FLRENA_BoxRelX(value) {
  131.   this.r3Set(R3FLRENA_BoxRelX, value); // R3FLOAT
  132. }
  133.  
  134. function GetR3FLRENA_BoxRelX() {
  135.   var value = 0.0;
  136.   return this.r3Get(R3FLRENA_BoxRelX, value); // R3FLOAT
  137. }
  138.  
  139. // R3FLRENA_BoxRelY ?ïE≡_dú
  140. R3FLRENA_BoxRelY = 244529;
  141. function SetR3FLRENA_BoxRelY(value) {
  142.   this.r3Set(R3FLRENA_BoxRelY, value); // R3FLOAT
  143. }
  144.  
  145. function GetR3FLRENA_BoxRelY() {
  146.   var value = 0.0;
  147.   return this.r3Get(R3FLRENA_BoxRelY, value); // R3FLOAT
  148. }
  149.  
  150. // R3FLRENA_BoxRelW ?ïE≡_dú
  151. R3FLRENA_BoxRelW = 244530;
  152. function SetR3FLRENA_BoxRelW(value) {
  153.   this.r3Set(R3FLRENA_BoxRelW, value); // R3FLOAT
  154. }
  155.  
  156. function GetR3FLRENA_BoxRelW() {
  157.   var value = 0.0;
  158.   return this.r3Get(R3FLRENA_BoxRelW, value); // R3FLOAT
  159. }
  160.  
  161. // R3FLRENA_BoxRelH ?ïE≡_dú
  162. R3FLRENA_BoxRelH = 244531;
  163. function SetR3FLRENA_BoxRelH(value) {
  164.   this.r3Set(R3FLRENA_BoxRelH, value); // R3FLOAT
  165. }
  166.  
  167. function GetR3FLRENA_BoxRelH() {
  168.   var value = 0.0;
  169.   return this.r3Get(R3FLRENA_BoxRelH, value); // R3FLOAT
  170. }
  171.  
  172. // R3FLRENA_RenderBoxActive integerR3BOOL 
  173. R3FLRENA_RenderBoxActive = 244532;
  174. function SetR3FLRENA_RenderBoxActive(value) {
  175.   this.r3Set(R3FLRENA_RenderBoxActive, value); // int 
  176. }
  177.  
  178. function GetR3FLRENA_RenderBoxActive() {
  179.   var value = 0;
  180.   return this.r3Get(R3FLRENA_RenderBoxActive, value); // int 
  181. }
  182.  
  183. // R3FLRENA_Resume booleanreuse existing boxes 
  184. R3FLRENA_Resume = 244533;
  185. function SetR3FLRENA_Resume(value) {
  186.   this.r3Set(R3FLRENA_Resume, value); // R3BOOL
  187. }
  188.  
  189. function GetR3FLRENA_Resume() {
  190.   var value = 0;
  191.   return this.r3Get(R3FLRENA_Resume, value); // R3BOOL
  192. }
  193.  
  194. // R3FLRENCA_RenderPort integerclass attribute. TCP port for distrib. rendering 
  195. R3FLRENCA_RenderPort = 244534;
  196. function SetR3FLRENCA_RenderPort(value) {
  197.   this.r3Set(R3FLRENCA_RenderPort, value); // R3INT
  198. }
  199.  
  200. function GetR3FLRENCA_RenderPort() {
  201.   var value = 0;
  202.   return this.r3Get(R3FLRENCA_RenderPort, value); // R3INT
  203. }
  204.  
  205. // R3FLRENA_IgnoreMissingTe booleanif true rendering is performed even if textures are not found 
  206. R3FLRENA_IgnoreMissingTe = 244535;
  207. function SetR3FLRENA_IgnoreMissingTe(value) {
  208.   this.r3Set(R3FLRENA_IgnoreMissingTe, value); // R3BOOL
  209. }
  210.  
  211. function GetR3FLRENA_IgnoreMissingTe() {
  212.   var value = 0;
  213.   return this.r3Get(R3FLRENA_IgnoreMissingTe, value); // R3BOOL
  214. }
  215.  
  216. R3FLRENCA_MaxWidth = 244536;
  217. function SetR3FLRENCA_MaxWidth(value) {
  218.   this.r3Set(R3FLRENCA_MaxWidth, value); // R3INT
  219. }
  220.  
  221. function GetR3FLRENCA_MaxWidth() {
  222.   var value = 0;
  223.   return this.r3Get(R3FLRENCA_MaxWidth, value); // R3INT
  224. }
  225.  
  226. R3FLRENCA_MaxHeight = 244537;
  227. function SetR3FLRENCA_MaxHeight(value) {
  228.   this.r3Set(R3FLRENCA_MaxHeight, value); // R3INT
  229. }
  230.  
  231. function GetR3FLRENCA_MaxHeight() {
  232.   var value = 0;
  233.   return this.r3Get(R3FLRENCA_MaxHeight, value); // R3INT
  234. }
  235.  
  236. // R3FLRENA_ImageEffectName ?effect applied to full images (not render boxes) 
  237. R3FLRENA_ImageEffectName = 244538;
  238. function SetR3FLRENA_ImageEffectName(value) {
  239.   this.r3Set(R3FLRENA_ImageEffectName, value); // char*
  240. }
  241.  
  242. function GetR3FLRENA_ImageEffectName() {
  243.   var value = "";
  244.   return this.r3Get(R3FLRENA_ImageEffectName, value); // char*
  245. }
  246.  
  247. // R3FLRENA_FieldEffectName ?post effect for fields 
  248. R3FLRENA_FieldEffectName = 244539;
  249. function SetR3FLRENA_FieldEffectName(value) {
  250.   this.r3Set(R3FLRENA_FieldEffectName, value); // char*
  251. }
  252.  
  253. function GetR3FLRENA_FieldEffectName() {
  254.   var value = "";
  255.   return this.r3Get(R3FLRENA_FieldEffectName, value); // char*
  256. }
  257.  
  258.  
  259.  
  260. function r3Filerender () { 
  261.    this.base = r3God;
  262.    if(arguments.length) {
  263.       this.base(R3CLID_FILERENDER, arguments);
  264.    }
  265.    // Methods
  266.    this.RENDER=_R3FLRENM_RENDER;
  267.    this.CANCEL=_R3FLRENM_CANCEL;
  268.  
  269.    // Attributes
  270.    this.GetPrimLayer=GetR3FLRENA_PrimLayer;
  271.    this.SetPrimLayer=SetR3FLRENA_PrimLayer;
  272.    this.GetMaterialLayer=GetR3FLRENA_MaterialLayer;
  273.    this.SetMaterialLayer=SetR3FLRENA_MaterialLayer;
  274.    this.GetImageEffectLaye=GetR3FLRENA_ImageEffectLaye;
  275.    this.SetImageEffectLaye=SetR3FLRENA_ImageEffectLaye;
  276.    this.GetParticleEffectL=GetR3FLRENA_ParticleEffectL;
  277.    this.SetParticleEffectL=SetR3FLRENA_ParticleEffectL;
  278.    this.GetOutputLayer=GetR3FLRENA_OutputLayer;
  279.    this.SetOutputLayer=SetR3FLRENA_OutputLayer;
  280.    this.GetAnimator=GetR3FLRENA_Animator;
  281.    this.SetAnimator=SetR3FLRENA_Animator;
  282.    this.GetRSpec=GetR3FLRENA_RSpec;
  283.    this.SetRSpec=SetR3FLRENA_RSpec;
  284.    this.GetOutput=GetR3FLRENA_Output;
  285.    this.SetOutput=SetR3FLRENA_Output;
  286.    this.GetBoxRelX=GetR3FLRENA_BoxRelX;
  287.    this.SetBoxRelX=SetR3FLRENA_BoxRelX;
  288.    this.GetBoxRelY=GetR3FLRENA_BoxRelY;
  289.    this.SetBoxRelY=SetR3FLRENA_BoxRelY;
  290.    this.GetBoxRelW=GetR3FLRENA_BoxRelW;
  291.    this.SetBoxRelW=SetR3FLRENA_BoxRelW;
  292.    this.GetBoxRelH=GetR3FLRENA_BoxRelH;
  293.    this.SetBoxRelH=SetR3FLRENA_BoxRelH;
  294.    this.GetRenderBoxActive=GetR3FLRENA_RenderBoxActive;
  295.    this.SetRenderBoxActive=SetR3FLRENA_RenderBoxActive;
  296.    this.GetResume=GetR3FLRENA_Resume;
  297.    this.SetResume=SetR3FLRENA_Resume;
  298.    this.GetRenderPort=GetR3FLRENCA_RenderPort;
  299.    this.SetRenderPort=SetR3FLRENCA_RenderPort;
  300.    this.GetIgnoreMissingTe=GetR3FLRENA_IgnoreMissingTe;
  301.    this.SetIgnoreMissingTe=SetR3FLRENA_IgnoreMissingTe;
  302.    this.GetMaxWidth=GetR3FLRENCA_MaxWidth;
  303.    this.SetMaxWidth=SetR3FLRENCA_MaxWidth;
  304.    this.GetMaxHeight=GetR3FLRENCA_MaxHeight;
  305.    this.SetMaxHeight=SetR3FLRENCA_MaxHeight;
  306.    this.GetImageEffectName=GetR3FLRENA_ImageEffectName;
  307.    this.SetImageEffectName=SetR3FLRENA_ImageEffectName;
  308.    this.GetFieldEffectName=GetR3FLRENA_FieldEffectName;
  309.    this.SetFieldEffectName=SetR3FLRENA_FieldEffectName;
  310. }
  311.  
  312. r3Filerender.prototype=new r3Root;
  313. // inc/real/code2/r3filren.h_H